package com.jsdzt;

/**
 * @author ：LiuShihao
 * @date ：Created in 2021/12/16 9:28 上午
 * @desc ：共享数据
 * //共享数据、用static动态变化
 */
public class PublicData {
    public static String key=" ";
    public static String curkey;
    public static String Text;
    public static int textTag=1;

    //预设好五段文字
    public static String getText(int i) {
        switch(i) {
            case 1:
                return "The Java programming language is robust and versatile, enabling developers to:Write software on one platform and run it on another.Create programs to run within a web browser.Develop server-side applications for online forums, stores, polls, processing HTML forms, and more.Write applications for cell phones, two-way pagers, and other consumer devices.It's no wonder the Java platform attracts so many new developers.";
            case 2:
                return "Review What You've Learned Test your Java programming knowledge with these online interactive quizzes and puzzles.Learning Paths Get a short, customized learning path, based on your programming experience.References & Resources A collection of references and resources to use for Java development.";
            case 3:
                return "Certification and Courses Links to information on taking Sun's courses and getting certified as a Java programmer, developer, or architect.The New to Java Programming Center provides instructional articles and tutorials for developing on the Java platform. ";
            case 4:
                return "Read through materials listed in the four easy-to-follow steps, or use the interactive Learning Path for a customized path, based on your programming experience. ";
            case 5:
                return "There were a sensitivity and a beauty to her that have nothing to do with looks. She was one to be listened to, whose words were so easy to take to heart.It is said that the true nature of being is veiled.";
//            case 6:
//                return "你好你好在吗在吗哈哈哈哈哈哈哈哈你好啊";
        }
        return Text;
    }
}